package cn.da.shuai.cool.system.model.entity.role;

import cn.da.shuai.cool.common.entity.UpdateBase;
import cn.da.shuai.cool.system.model.enums.role.RoleStatusType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 角色更新参数
 *
 * @author 大帅哥
 * @since 2025-01-03
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Schema(name = "UpdateRoleVo", description = "角色更新参数")
public class UpdateRoleVo extends UpdateBase<Integer> {

    @Schema(description = "角色名称")
    private String roleName;

    @Schema(description = "角色权限字符串")
    private String roleKey;

    @Schema(description = "显示顺序")
    private Integer roleSort;

    @Schema(description = "角色状态")
    private RoleStatusType status;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "菜单ID列表")
    private List<Integer> menuIds;
}